home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / BASICS compilation.adf / README.LST < prev    next >
File List  |  1989-03-06  |  3KB  |  46 lines

  1. ' In This version several problems are fixed and a few new things added.
  2. ' ------------------------------------------------------------
  3. ' OPEN "_",#_,"COM1:[BAUDRATE [,PARITY [,LENGTH [,STOPBITS]]]]"
  4. ' with: BAUDRATE: 110/150/300/600/1200/1800/2400/4800/9600/19200
  5. ' PARITY:   "N" (no parity), "O" (odd) or "E" (even parity).
  6. ' LENGTH: the number of bits (5 to 8)
  7. ' STOPBITS: the number of stopbits to use (1 or 2)
  8. ' This syntax is exactly the same as in AmigaBasic (between the quotes !).
  9. ' This new command opens a file for Input or Output to the serial port,
  10. ' and makes it possible to change the parameters for the serial port.
  11. ' examples:
  12. '  OPEN "I",#1,"COM1:9600,N,7,1" !opens a file for input, sets the serial
  13. '  port to 9600 Baud, No parity, 7 bits with 1 stopbit.
  14. '  OPEN"O",#1,"COM1:300,O,6,1" !opens a file for output, sets the serial
  15. '  port to 300 Baud, Odd parity, 6 bits and 1 stopbit.
  16. '  OPEN"O",#1,"COM1:600" !changes to 600 baud - opens a file for output and
  17. '  leaves all other parameters to their default values.
  18. '
  19. '  - SGET $()/SPUT $() : They do the same as the SGET string /
  20. '  SPUT string -commands on the ST, except that they use a string-ARRAY instead of
  21. '  a string (On the Amiga a screen can use more than 32K). They work on screens:
  22. '  they take (or put) the contents of a whole screen.
  23. '
  24. '  - SCROLL dx,dy,x0,y0,x1,y1 scrolls a rectangle in your window.
  25. '  f.e.: SCROLL 2,3,10,10,100,100  scrolls the rectangle (10,10)-(100,100) 2 pixels
  26. '  to the right, 3 pixels to below, and the second parameter of COLOR determines
  27. '  the color of the borders that are scrolled (here left and upper border of the
  28. '  rectangle).
  29. '
  30. '  - In the FileSelector several things changed:
  31. '  - The Up/Down-arrows repeat now for quick file-search without having
  32. '  to click many times on the same arrow
  33. '  - When you do a diskchange the fileselector is updated if necessary,
  34. '  automatically: the user has not to re-select the drive (as you have to do on
  35. '  the ST and in other fileselectors on the Amiga).
  36. '  - Now GFABASIC also saves an Icon with your sources if you want it to.
  37. '  Therefore, the pull-down menu got an extra selection called "Save Icon", short-
  38. '  cut is "Right_Amiga_Key + I". Use this to turn this icon-save-option on or off.
  39. '  - In the pull-down menu:
  40. '  - new entry "Save Icon", with checkmark (such a "V") to show current
  41. '  status (save icon / don't save icon)
  42. '  - FOR .. NEXT -loops are now not executed when the limit is exceeded from
  43. '  the start: f.e.
  44. ' FOR i=10 TO 5
  45. ' NEXT i
  46.